package github.kawaiior.yuanchuxiuzhen.common.entity.addon.model;

import com.mojang.blaze3d.matrix.MatrixStack;
import com.mojang.blaze3d.vertex.IVertexBuilder;
import github.kawaiior.yuanchuxiuzhen.common.entity.addon.FireFoxEntity;
import github.kawaiior.yuanchuxiuzhen.util.RenderUtil;
import net.minecraft.client.renderer.entity.model.EntityModel;
import net.minecraft.client.renderer.model.ModelRenderer;
import net.minecraft.util.math.MathHelper;

public class FireFoxEntityModel extends EntityModel<FireFoxEntity> {
    private final ModelRenderer leftleg;
    
    private final ModelRenderer leftarm;
    
    private final ModelRenderer rightleg;
    
    private final ModelRenderer rightarm;
    
    private final ModelRenderer body;
    
    private final ModelRenderer bone15;
    
    private final ModelRenderer bone13;
    
    private final ModelRenderer bone16;
    
    private final ModelRenderer bone22;
    
    private final ModelRenderer bone23;
    
    private final ModelRenderer bone20;
    
    private final ModelRenderer bone19;
    
    private final ModelRenderer bone17;
    
    private final ModelRenderer bone21;
    
    private final ModelRenderer bone18;
    
    private final ModelRenderer bone3;
    
    private final ModelRenderer bone6;
    
    private final ModelRenderer bone2;
    
    private final ModelRenderer bone4;
    
    private final ModelRenderer bone5;
    
    private final ModelRenderer bone10;
    
    private final ModelRenderer bone9;
    
    private final ModelRenderer bone7;
    
    private final ModelRenderer bone11;
    
    private final ModelRenderer bone8;
    
    private final ModelRenderer head;
    
    private final ModelRenderer head2;

    public FireFoxEntityModel(){
        this.textureWidth=64;
        this.textureHeight=64;
        this.leftleg=new ModelRenderer(this);
        this.leftleg.setRotationPoint(2.0F,17.0F,6.0F);
        addBox(this.leftleg, 0, 26, -1.0F, 0.0F, -1.0F, 2, 7, 2, 0.0F, false);
        this.leftarm=new ModelRenderer(this);
        this.leftarm.setRotationPoint(2.0F,17.0F,-5.0F);
        addBox(this.leftarm, 24, 26, -1.0F, 0.0F, -1.0F, 2, 7, 2, 0.0F, false);
        this.rightleg=new ModelRenderer(this);
        this.rightleg.setRotationPoint(-2.0F,17.0F,6.0F);
        addBox(this.rightleg, 8, 26, -1.0F, 0.0F, -1.0F, 2, 7, 2, 0.0F, false);
        this.rightarm=new ModelRenderer(this);
        this.rightarm.setRotationPoint(-2.0F,17.0F,-5.0F);
        addBox(this.rightarm, 16, 26, -1.0F, 0.0F, -1.0F, 2, 7, 2, 0.0F, false);
        this.body=new ModelRenderer(this);
        this.body.setRotationPoint(0.0F,24.0F,0.0F);
        RenderUtil.setRotationAngle(this.body,0.0F,-1.5708F,0.0F);
        addBox(this.body, 0, 0, -7.0F, -13.0F, -3.0F, 15, 6, 6, 0.0F, false);
        this.bone15=new ModelRenderer(this);
        this.bone15.setRotationPoint(0.0F,0.0F,0.0F);
        this.body.addChild(this.bone15);
        this.bone13=new ModelRenderer(this);
        this.bone13.setRotationPoint(22.0F,6.0F,-2.0F);
        RenderUtil.setRotationAngle(this.bone13,0.0F,0.0F,0.3491F);
        this.bone15.addChild(this.bone13);
        addBox(this.bone13, 52, 57, -3.0F, -23.0F, 0.0F, 3, 5, 3, 0.0F, false);
        addBox(this.bone13, 52, 62, -3.0F, -20.0F, 3.0F, 2, 2, 1, 0.0F, false);
        addBox(this.bone13, 52, 62, -3.0F, -20.0F, -1.0F, 2, 2, 1, 0.0F, false);
        addBox(this.bone13, 56, 61, -3.0F, -18.0F, 1.0F, 2, 1, 2, 0.0F, false);
        addBox(this.bone13, 52, 62, -4.0F, -20.0F, 1.0F, 1, 2, 2, 0.0F, false);
        addBox(this.bone13, 52, 62, -2.0F, -24.0F, 0.0F, 2, 1, 2, 0.0F, false);
        addBox(this.bone13, 52, 62, 0.0F, -20.0F, 1.0F, 1, 2, 2, 0.0F, false);
        addBox(this.bone13, 60, 62, -3.0F, -21.0F, 3.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone13, 60, 62, -1.0F, -22.0F, 3.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone13, 60, 62, -3.0F, -21.0F, -1.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone13, 60, 62, -2.0F, -22.0F, -1.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone13, 60, 62, -4.0F, -21.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone13, 60, 62, -4.0F, -22.0F, 0.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone13, 60, 62, -3.0F, -24.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone13, 60, 62, -2.0F, -26.0F, 1.0F, 1, 2, 1, 0.0F, false);
        addBox(this.bone13, 60, 62, 0.0F, -21.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone13, 60, 62, 0.0F, -22.0F, 0.0F, 1, 1, 1, 0.0F, false);
        this.bone16=new ModelRenderer(this);
        this.bone16.setRotationPoint(14.0F,5.0F,-7.0F);
        RenderUtil.setRotationAngle(this.bone16,0.3491F,0.0F,0.6109F);
        this.bone15.addChild(this.bone16);
        addBox(this.bone16, 52, 57, -3.0F, -23.0F, 0.0F, 3, 5, 3, 0.0F, false);
        addBox(this.bone16, 52, 62, -3.0F, -20.0F, 3.0F, 2, 2, 1, 0.0F, false);
        addBox(this.bone16, 52, 62, -3.0F, -20.0F, -1.0F, 2, 2, 1, 0.0F, false);
        addBox(this.bone16, 56, 61, -3.0F, -18.0F, 1.0F, 2, 1, 2, 0.0F, false);
        addBox(this.bone16, 52, 62, -4.0F, -20.0F, 1.0F, 1, 2, 2, 0.0F, false);
        addBox(this.bone16, 52, 62, -2.0F, -24.0F, 0.0F, 2, 1, 2, 0.0F, false);
        addBox(this.bone16, 52, 62, 0.0F, -20.0F, 1.0F, 1, 2, 2, 0.0F, false);
        addBox(this.bone16, 60, 62, -3.0F, -21.0F, 3.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone16, 60, 62, -1.0F, -22.0F, 3.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone16, 60, 62, -3.0F, -21.0F, -1.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone16, 60, 62, -2.0F, -22.0F, -1.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone16, 60, 62, -4.0F, -21.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone16, 60, 62, -4.0F, -22.0F, 0.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone16, 60, 62, -3.0F, -24.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone16, 58, 60, -2.0F, -26.0F, 1.0F, 1, 2, 1, 0.0F, false);
        addBox(this.bone16, 60, 62, 0.0F, -21.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone16, 60, 62, 0.0F, -22.0F, 0.0F, 1, 1, 1, 0.0F, false);
        this.bone22=new ModelRenderer(this);
        this.bone22.setRotationPoint(18.0F,-2.0F,-5.0F);
        RenderUtil.setRotationAngle(this.bone22,0.3491F,0.0F,0.2618F);
        this.bone15.addChild(this.bone22);
        addBox(this.bone22, 52, 57, -3.0F, -23.0F, 0.0F, 3, 5, 3, 0.0F, false);
        addBox(this.bone22, 52, 62, -3.0F, -20.0F, 3.0F, 2, 2, 1, 0.0F, false);
        addBox(this.bone22, 52, 62, -3.0F, -20.0F, -1.0F, 2, 2, 1, 0.0F, false);
        addBox(this.bone22, 56, 61, -3.0F, -18.0F, 1.0F, 2, 1, 2, 0.0F, false);
        addBox(this.bone22, 52, 62, -4.0F, -20.0F, 1.0F, 1, 2, 2, 0.0F, false);
        addBox(this.bone22, 52, 62, -2.0F, -24.0F, 0.0F, 2, 1, 2, 0.0F, false);
        addBox(this.bone22, 52, 62, 0.0F, -20.0F, 1.0F, 1, 2, 2, 0.0F, false);
        addBox(this.bone22, 60, 62, -3.0F, -21.0F, 3.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone22, 60, 62, -1.0F, -22.0F, 3.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone22, 60, 62, -3.0F, -21.0F, -1.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone22, 60, 62, -2.0F, -22.0F, -1.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone22, 60, 62, -4.0F, -21.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone22, 60, 62, -4.0F, -22.0F, 0.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone22, 60, 62, -3.0F, -24.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone22, 58, 60, -2.0F, -26.0F, 1.0F, 1, 2, 1, 0.0F, false);
        addBox(this.bone22, 60, 62, 0.0F, -21.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone22, 60, 62, 0.0F, -22.0F, 0.0F, 1, 1, 1, 0.0F, false);
        this.bone23=new ModelRenderer(this);
        this.bone23.setRotationPoint(17.0F,-3.0F,5.0F);
        RenderUtil.setRotationAngle(this.bone23,0.3491F,-2.2689F,0.0F);
        this.bone15.addChild(this.bone23);
        addBox(this.bone23, 52, 57, -3.0F, -23.0F, 0.0F, 3, 5, 3, 0.0F, false);
        addBox(this.bone23, 52, 62, -3.0F, -20.0F, 3.0F, 2, 2, 1, 0.0F, false);
        addBox(this.bone23, 52, 62, -3.0F, -20.0F, -1.0F, 2, 2, 1, 0.0F, false);
        addBox(this.bone23, 56, 61, -3.0F, -18.0F, 1.0F, 2, 1, 2, 0.0F, false);
        addBox(this.bone23, 52, 62, -4.0F, -20.0F, 1.0F, 1, 2, 2, 0.0F, false);
        addBox(this.bone23, 52, 62, -2.0F, -24.0F, 0.0F, 2, 1, 2, 0.0F, false);
        addBox(this.bone23, 52, 62, 0.0F, -20.0F, 1.0F, 1, 2, 2, 0.0F, false);
        addBox(this.bone23, 60, 62, -3.0F, -21.0F, 3.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone23, 60, 62, -1.0F, -22.0F, 3.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone23, 60, 62, -3.0F, -21.0F, -1.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone23, 60, 62, -2.0F, -22.0F, -1.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone23, 60, 62, -4.0F, -21.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone23, 60, 62, -4.0F, -22.0F, 0.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone23, 60, 62, -3.0F, -24.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone23, 58, 60, -2.0F, -26.0F, 1.0F, 1, 2, 1, 0.0F, false);
        addBox(this.bone23, 60, 62, 0.0F, -21.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone23, 60, 62, 0.0F, -22.0F, 0.0F, 1, 1, 1, 0.0F, false);
        this.bone20=new ModelRenderer(this);
        this.bone20.setRotationPoint(14.0F,14.0F,-5.0F);
        RenderUtil.setRotationAngle(this.bone20,0.3491F,0.0F,0.6109F);
        this.bone15.addChild(this.bone20);
        addBox(this.bone20, 52, 57, -3.0F, -23.0F, 0.0F, 3, 5, 3, 0.0F, false);
        addBox(this.bone20, 52, 62, -3.0F, -20.0F, 3.0F, 2, 2, 1, 0.0F, false);
        addBox(this.bone20, 52, 62, -3.0F, -20.0F, -1.0F, 2, 2, 1, 0.0F, false);
        addBox(this.bone20, 56, 61, -3.0F, -18.0F, 1.0F, 2, 1, 2, 0.0F, false);
        addBox(this.bone20, 52, 62, -4.0F, -20.0F, 1.0F, 1, 2, 2, 0.0F, false);
        addBox(this.bone20, 52, 62, -2.0F, -24.0F, 0.0F, 2, 1, 2, 0.0F, false);
        addBox(this.bone20, 52, 62, 0.0F, -20.0F, 1.0F, 1, 2, 2, 0.0F, false);
        addBox(this.bone20, 60, 62, -3.0F, -21.0F, 3.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone20, 60, 62, -1.0F, -22.0F, 3.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone20, 60, 62, -3.0F, -21.0F, -1.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone20, 60, 62, -2.0F, -22.0F, -1.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone20, 60, 62, -4.0F, -21.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone20, 60, 62, -4.0F, -22.0F, 0.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone20, 60, 62, -3.0F, -24.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone20, 58, 60, -2.0F, -26.0F, 1.0F, 1, 2, 1, 0.0F, false);
        addBox(this.bone20, 60, 62, 0.0F, -21.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone20, 60, 62, 0.0F, -22.0F, 0.0F, 1, 1, 1, 0.0F, false);
        this.bone19=new ModelRenderer(this);
        this.bone19.setRotationPoint(7.0F,5.0F,-13.0F);
        RenderUtil.setRotationAngle(this.bone19,0.3491F,0.0F,0.6109F);
        this.bone15.addChild(this.bone19);
        addBox(this.bone19, 52, 57, -3.0F, -23.0F, 0.0F, 3, 5, 3, 0.0F, false);
        addBox(this.bone19, 52, 62, -3.0F, -20.0F, 3.0F, 2, 2, 1, 0.0F, false);
        addBox(this.bone19, 52, 62, -3.0F, -20.0F, -1.0F, 2, 2, 1, 0.0F, false);
        addBox(this.bone19, 56, 61, -3.0F, -18.0F, 1.0F, 2, 1, 2, 0.0F, false);
        addBox(this.bone19, 52, 62, -4.0F, -20.0F, 1.0F, 1, 2, 2, 0.0F, false);
        addBox(this.bone19, 52, 62, -2.0F, -24.0F, 0.0F, 2, 1, 2, 0.0F, false);
        addBox(this.bone19, 52, 62, 0.0F, -20.0F, 1.0F, 1, 2, 2, 0.0F, false);
        addBox(this.bone19, 60, 62, -3.0F, -21.0F, 3.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone19, 60, 62, -1.0F, -22.0F, 3.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone19, 60, 62, -3.0F, -21.0F, -1.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone19, 60, 62, -2.0F, -22.0F, -1.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone19, 60, 62, -4.0F, -21.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone19, 60, 62, -4.0F, -22.0F, 0.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone19, 60, 62, -3.0F, -24.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone19, 58, 60, -2.0F, -26.0F, 1.0F, 1, 2, 1, 0.0F, false);
        addBox(this.bone19, 60, 62, 0.0F, -21.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone19, 60, 62, 0.0F, -22.0F, 0.0F, 1, 1, 1, 0.0F, false);
        this.bone17=new ModelRenderer(this);
        this.bone17.setRotationPoint(11.0F,2.0F,6.0F);
        RenderUtil.setRotationAngle(this.bone17,0.3491F,-3.0543F,0.6109F);
        this.bone15.addChild(this.bone17);
        addBox(this.bone17, 52, 57, -3.0F, -23.0F, 0.0F, 3, 5, 3, 0.0F, false);
        addBox(this.bone17, 52, 62, -3.0F, -20.0F, 3.0F, 2, 2, 1, 0.0F, false);
        addBox(this.bone17, 52, 62, -3.0F, -20.0F, -1.0F, 2, 2, 1, 0.0F, false);
        addBox(this.bone17, 56, 61, -3.0F, -18.0F, 1.0F, 2, 1, 2, 0.0F, false);
        addBox(this.bone17, 52, 62, -4.0F, -20.0F, 1.0F, 1, 2, 2, 0.0F, false);
        addBox(this.bone17, 52, 62, -2.0F, -24.0F, 0.0F, 2, 1, 2, 0.0F, false);
        addBox(this.bone17, 52, 62, 0.0F, -20.0F, 1.0F, 1, 2, 2, 0.0F, false);
        addBox(this.bone17, 60, 62, -3.0F, -21.0F, 3.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone17, 60, 62, -1.0F, -22.0F, 3.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone17, 60, 62, -3.0F, -21.0F, -1.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone17, 60, 62, -2.0F, -22.0F, -1.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone17, 60, 62, -4.0F, -21.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone17, 60, 62, -4.0F, -22.0F, 0.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone17, 60, 62, -3.0F, -24.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone17, 60, 62, -2.0F, -26.0F, 1.0F, 1, 2, 1, 0.0F, false);
        addBox(this.bone17, 60, 62, 0.0F, -21.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone17, 60, 62, 0.0F, -22.0F, 0.0F, 1, 1, 1, 0.0F, false);
        this.bone21=new ModelRenderer(this);
        this.bone21.setRotationPoint(11.0F,10.0F,4.0F);
        RenderUtil.setRotationAngle(this.bone21,0.3491F,-3.0543F,0.6109F);
        this.bone15.addChild(this.bone21);
        addBox(this.bone21, 52, 57, -3.0F, -23.0F, 0.0F, 3, 5, 3, 0.0F, false);
        addBox(this.bone21, 52, 62, -3.0F, -20.0F, 3.0F, 2, 2, 1, 0.0F, false);
        addBox(this.bone21, 52, 62, -3.0F, -20.0F, -1.0F, 2, 2, 1, 0.0F, false);
        addBox(this.bone21, 56, 61, -3.0F, -18.0F, 1.0F, 2, 1, 2, 0.0F, false);
        addBox(this.bone21, 52, 62, -4.0F, -20.0F, 1.0F, 1, 2, 2, 0.0F, false);
        addBox(this.bone21, 52, 62, -2.0F, -24.0F, 0.0F, 2, 1, 2, 0.0F, false);
        addBox(this.bone21, 52, 62, 0.0F, -20.0F, 1.0F, 1, 2, 2, 0.0F, false);
        addBox(this.bone21, 60, 62, -3.0F, -21.0F, 3.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone21, 60, 62, -1.0F, -22.0F, 3.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone21, 60, 62, -3.0F, -21.0F, -1.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone21, 60, 62, -2.0F, -22.0F, -1.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone21, 60, 62, -4.0F, -21.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone21, 60, 62, -4.0F, -22.0F, 0.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone21, 60, 62, -3.0F, -24.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone21, 60, 62, -2.0F, -26.0F, 1.0F, 1, 2, 1, 0.0F, false);
        addBox(this.bone21, 60, 62, 0.0F, -21.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone21, 60, 62, 0.0F, -22.0F, 0.0F, 1, 1, 1, 0.0F, false);
        this.bone18=new ModelRenderer(this);
        this.bone18.setRotationPoint(3.0F,2.0F,12.0F);
        RenderUtil.setRotationAngle(this.bone18,0.3491F,-3.0543F,0.6109F);
        this.bone15.addChild(this.bone18);
        addBox(this.bone18, 52, 57, -3.0F, -23.0F, 0.0F, 3, 5, 3, 0.0F, false);
        addBox(this.bone18, 52, 62, -3.0F, -20.0F, 3.0F, 2, 2, 1, 0.0F, false);
        addBox(this.bone18, 52, 62, -3.0F, -20.0F, -1.0F, 2, 2, 1, 0.0F, false);
        addBox(this.bone18, 56, 61, -3.0F, -18.0F, 1.0F, 2, 1, 2, 0.0F, false);
        addBox(this.bone18, 52, 62, -4.0F, -20.0F, 1.0F, 1, 2, 2, 0.0F, false);
        addBox(this.bone18, 52, 62, -2.0F, -24.0F, 0.0F, 2, 1, 2, 0.0F, false);
        addBox(this.bone18, 52, 62, 0.0F, -20.0F, 1.0F, 1, 2, 2, 0.0F, false);
        addBox(this.bone18, 60, 62, -3.0F, -21.0F, 3.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone18, 60, 62, -1.0F, -22.0F, 3.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone18, 60, 62, -3.0F, -21.0F, -1.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone18, 60, 62, -2.0F, -22.0F, -1.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone18, 60, 62, -4.0F, -21.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone18, 60, 62, -4.0F, -22.0F, 0.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone18, 60, 62, -3.0F, -24.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone18, 60, 62, -2.0F, -26.0F, 1.0F, 1, 2, 1, 0.0F, false);
        addBox(this.bone18, 60, 62, 0.0F, -21.0F, 2.0F, 1, 1, 1, 0.0F, false);
        addBox(this.bone18, 60, 62, 0.0F, -22.0F, 0.0F, 1, 1, 1, 0.0F, false);
        this.bone3=new ModelRenderer(this);
        this.bone3.setRotationPoint(6.0F,-2.0F,0.0F);
        this.body.addChild(this.bone3);
        this.bone6=new ModelRenderer(this);
        this.bone6.setRotationPoint(-1.0F,4.0F,3.0F);
        this.bone3.addChild(this.bone6);
        addBox(this.bone6, 0, 56, 11.0F, -16.0F, -5.0F, 8, 4, 4, 0.0F, false);
        addBox(this.bone6, 0, 56, 6.0F, -15.0F, -5.0F, 5, 3, 3, 0.0F, false);
        addBox(this.bone6, 0, 56, 3.0F, -14.0F, -4.0F, 3, 2, 1, 0.0F, false);
        this.bone2=new ModelRenderer(this);
        this.bone2.setRotationPoint(6.0F,4.0F,1.0F);
        RenderUtil.setRotationAngle(this.bone2,0.0873F,-0.4363F,-0.6109F);
        this.bone3.addChild(this.bone2);
        addBox(this.bone2, 0, 56, 11.0F, -16.0F, -5.0F, 8, 4, 4, 0.0F, false);
        addBox(this.bone2, 0, 56, 6.0F, -15.0F, -5.0F, 5, 3, 3, 0.0F, false);
        addBox(this.bone2, 0, 56, 3.0F, -14.0F, -4.0F, 3, 2, 1, 0.0F, false);
        this.bone4=new ModelRenderer(this);
        this.bone4.setRotationPoint(9.0F,2.0F,5.0F);
        RenderUtil.setRotationAngle(this.bone4,0.0873F,0.5236F,-0.6109F);
        this.bone3.addChild(this.bone4);
        addBox(this.bone4, 0, 56, 11.0F, -16.0F, -5.0F, 8, 4, 4, 0.0F, false);
        addBox(this.bone4, 0, 56, 6.0F, -15.0F, -5.0F, 5, 3, 3, 0.0F, false);
        addBox(this.bone4, 0, 56, 3.0F, -14.0F, -4.0F, 3, 2, 1, 0.0F, false);
        this.bone5=new ModelRenderer(this);
        this.bone5.setRotationPoint(2.0F,4.0F,4.0F);
        RenderUtil.setRotationAngle(this.bone5,0.0F,0.6981F,0.0F);
        this.bone3.addChild(this.bone5);
        addBox(this.bone5, 0, 56, 10.6313F, -15.2223F, -5.5091F, 8, 4, 4, 0.0F, false);
        addBox(this.bone5, 0, 56, 6.0F, -15.0F, -5.0F, 5, 3, 3, 0.0F, false);
        addBox(this.bone5, 0, 56, 3.0F, -14.0F, -4.0F, 3, 2, 1, 0.0F, false);
        this.bone10=new ModelRenderer(this);
        this.bone10.setRotationPoint(-5.0F,2.0F,4.0F);
        RenderUtil.setRotationAngle(this.bone10,0.0F,0.5236F,0.6109F);
        this.bone3.addChild(this.bone10);
        addBox(this.bone10, 0, 56, 10.6313F, -15.2223F, -5.5091F, 8, 4, 4, 0.0F, false);
        addBox(this.bone10, 0, 56, 6.0F, -15.0F, -5.0F, 5, 3, 3, 0.0F, false);
        addBox(this.bone10, 0, 56, 3.0F, -14.0F, -4.0F, 3, 2, 1, 0.0F, false);
        this.bone9=new ModelRenderer(this);
        this.bone9.setRotationPoint(5.0F,4.0F,4.0F);
        RenderUtil.setRotationAngle(this.bone9,0.0F,1.2217F,0.0F);
        this.bone3.addChild(this.bone9);
        addBox(this.bone9, 0, 56, 10.6313F, -15.2223F, -5.5091F, 8, 4, 4, 0.0F, false);
        addBox(this.bone9, 0, 56, 6.0F, -15.0F, -5.0F, 5, 3, 3, 0.0F, false);
        addBox(this.bone9, 0, 56, 3.0F, -14.0F, -4.0F, 3, 2, 1, 0.0F, false);
        this.bone7=new ModelRenderer(this);
        this.bone7.setRotationPoint(-2.0F,4.0F,0.0F);
        RenderUtil.setRotationAngle(this.bone7,0.0F,-0.6981F,0.0F);
        this.bone3.addChild(this.bone7);
        addBox(this.bone7, 0, 56, 10.6313F, -15.2223F, -5.5091F, 8, 4, 4, 0.0F, false);
        addBox(this.bone7, 0, 56, 6.0F, -15.0F, -5.0F, 5, 3, 3, 0.0F, false);
        addBox(this.bone7, 0, 56, 3.0F, -14.0F, -4.0F, 3, 2, 1, 0.0F, false);
        this.bone11=new ModelRenderer(this);
        this.bone11.setRotationPoint(-7.0F,2.0F,1.0F);
        RenderUtil.setRotationAngle(this.bone11,0.0F,-0.5236F,0.4363F);
        this.bone3.addChild(this.bone11);
        addBox(this.bone11, 0, 56, 10.6313F, -15.2223F, -5.5091F, 8, 4, 4, 0.0F, false);
        addBox(this.bone11, 0, 56, 6.0F, -15.0F, -5.0F, 5, 3, 3, 0.0F, false);
        addBox(this.bone11, 0, 56, 3.0F, -14.0F, -4.0F, 3, 2, 1, 0.0F, false);
        this.bone8=new ModelRenderer(this);
        this.bone8.setRotationPoint(-2.0F,4.0F,-3.0F);
        RenderUtil.setRotationAngle(this.bone8,0.0F,-1.2217F,0.0F);
        this.bone3.addChild(this.bone8);
        addBox(this.bone8, 0, 56, 10.6313F, -15.2223F, -5.5091F, 8, 4, 4, 0.0F, false);
        addBox(this.bone8, 0, 56, 6.0F, -15.0F, -5.0F, 5, 3, 3, 0.0F, false);
        addBox(this.bone8, 0, 56, 3.0F, -14.0F, -4.0F, 3, 2, 1, 0.0F, false);
        this.head=new ModelRenderer(this);
        this.head.setRotationPoint(0.0F,14.0F,-7.0F);
        this.head2=new ModelRenderer(this);
        this.head2.setRotationPoint(0.0F,0.0F,0.0F);
        RenderUtil.setRotationAngle(this.head2,0.0F,-1.5708F,0.0F);
        this.head.addChild(this.head2);
        addBox(this.head2, 0, 0, -5.0F, -6.0F, -3.0F, 1, 2, 2, 0.0F, false);
        addBox(this.head2, 24, 26, -5.0F, -6.0F, 1.0F, 1, 2, 2, 0.0F, false);
        addBox(this.head2, 0, 12, -7.0F, -4.0F, -4.0F, 7, 6, 8, 0.0F, false);
        addBox(this.head2, 22, 12, -10.0F, 0.0F, -2.0F, 3, 2, 4, 0.0F, false);
        
        
    }

    private void addBox(ModelRenderer mb, int tx, int ty, float x, float y, float z, float width, float height, float depth, float delta, boolean mirrorIn){
        ModelRenderer mr = new ModelRenderer(this);
        mb.addChild(mr);
        mr.setTextureOffset(tx, ty).addBox(x,y,z,width,height,depth,delta,mirrorIn);
    }

    @Override
    public void setRotationAngles(FireFoxEntity entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) {
        this.head.rotateAngleY = netHeadYaw / 57.295776F;
        this.head.rotateAngleX = headPitch / 57.295776F;
        this.rightleg.rotateAngleX = MathHelper.cos(limbSwing * 1.0F) * 1.0F * limbSwingAmount;
        this.rightarm.rotateAngleY = MathHelper.cos(limbSwing * 0.6662F) * limbSwingAmount;
        this.leftleg.rotateAngleX = MathHelper.cos(limbSwing * 1.0F) * -1.0F * limbSwingAmount;
        this.leftarm.rotateAngleX = MathHelper.cos(limbSwing * 1.0F) * 1.0F * limbSwingAmount;
    }

    @Override
    public void render(MatrixStack matrixStackIn, IVertexBuilder bufferIn, int packedLightIn, int packedOverlayIn, float red, float green, float blue, float alpha) {
        this.leftleg.render(matrixStackIn, bufferIn, packedLightIn, packedOverlayIn);
        this.leftarm.render(matrixStackIn, bufferIn, packedLightIn, packedOverlayIn);
        this.rightleg.render(matrixStackIn, bufferIn, packedLightIn, packedOverlayIn);
        this.rightarm.render(matrixStackIn, bufferIn, packedLightIn, packedOverlayIn);
        this.body.render(matrixStackIn, bufferIn, packedLightIn, packedOverlayIn);
        this.head.render(matrixStackIn, bufferIn, packedLightIn, packedOverlayIn);
    }
}